package com.tutorialspoint.DI;

// import java.awt.List;
import java.util.*;

public class JavaCollection {
	List<String>		addressList;
	Set<String>			addressSet; // Set do not storage repeated values
	Map<String, String>			addressMap;
	Properties 	addressProp;
	
	public void setAddressList(List<String> addressList) {
		this.addressList = addressList;
	}
	
	public List<String> getAddressList() {
		System.out.println("List Elements : " + addressList);
		return addressList;
	}
	
	public void setAddressSet(Set addrSet) {
		addressSet = addrSet;
	}
	
	public Set getAddressSet() {
		System.out.println("Set Elements : " + addressSet);
		return addressSet;
	}
	
	public void setAddressMap(Map<String, String> addressMap) {
		this.addressMap = addressMap;
	}
	
	public Map<String, String> getAddressMap() {
		System.out.println("Map Elements : " + addressMap);
		return addressMap;
	}
	
	public void setAddressProp(Properties addrProp) {
		addressProp = addrProp;
	}
	
	public Properties getAddressProp() {
		System.out.println("Properties Elements : " + addressProp);
		return addressProp;
	}
}
